from app.objectpools.pool import Pool



class Father_Ui_Pool(Pool):
    def __init__(self):
        self.pool = {}

    def capacity(self):
        super(Father_Ui_Pool, self).capacity()
        length = self.pool.__len__()
        return length

    def find(self, name):
        super(Father_Ui_Pool, self).find(name)
        return self.pool[name]
